091-2230-8145     |      dataprojectng@gmail.com

Witnessing Control Flow Graph Optimizations

  • Project Research
  • 1-5 Chapters
  • Abstract : Available
  • Table of Content: Available
  • Reference Style: APA
  • Recommended for : Student Researchers
  • NGN 3000

ABSTRACT

Proving the correctness of a program transformation, and specifically, of a compiler optimization, is a long-standing research problem. Trusting the compiler requires to guarantee that the properties verified on the source program hold for the compiled target-code as well. Thus, the primary objective of formal correctness verification is to preserve the semantics of the source code, maintaining untouched its logical behavior. Traditional methods for formal correctness verification are not convenient to validate large and complex programs like compilers [1], and intensive testing, despite its proven efficacy, cannot guarantee the absence of bugs [2]. This thesis is part of a larger on-going research project aimed to demonstrate the feasibility to overcome the difficulties of traditional formal methods. K. Namjoshi and L. Zuck [3] propose a new methodology for creating an automated proof to guarantee the correctness of every execution of an optimization. A witness is a run-time generated relation between the source code and the target code, before and after the transformation. The relation is able to represent all the properties that must be valid throughout the optimization, offering a mathematical formula to prove, through a SMT-Solver (typically Microsoft Z3 ), if the invariants hold and the semantics is preserved. This work is a further step towards the implementation of a witnessing compiler [4]: the SimplifyCFG pass of the LLVM compiler framework is augmented with a witness generator procedure which constructs, run-time, the relations to prove the correctness of every single simplification in the control flow graph, performed by the compiler. We show that it is feasible to augment the SimplifyCFG pass with a witness generation procedure. We describe the structure of the code and the mathematical relations designed to demonstrate the correctness of a transformation on the Control Flow Graph. Benchmarks and tests will prove the correct behavior of our implementation and the effectiveness of the witnessing procedure. We provide details about the witnesses and the results of the benchmarks. First, the problem is described, together with the limitations of the traditional methods; then a solution is designed and explained. Details about the actual implementation for the SimplifyCFG code are provided in further sections




FIND OTHER RELATED TOPICS


Related Project Materials

TRAVEL LIFESTYLE AND OUTBOUND TOURISM INTENTION IN NIGERIA

Introduction

Nigeria, one of the leading oil producers in Africa, recorded stable economic growth durin...

Read more
EFFECT OF EFFICIENCY TAX ADMINISTRATION IN TAX COMPLIANCE

Background to the Study

Several groups have urged the government to revamp the country's tax system...

Read more
EFFECT OF HEALTH AND SAFETY SERVICE ON EMPLOYEE PERFORMANCE, A STUDY OF NIGERIAN BOTTLING COMPANY ENUGU

Background Of The Study

Any organization's health and safety is a critical component that requires careful considera...

Read more
LAGOS RESIDENT'S ASSESSMENT OF COCA COLA AND PEPSI'S ENGAGEMENT OF PUBLIC RELATIONS AS A TOOL FOR ENHANCING THEIR COPERATE IMAGE

ABSTRACT

 

This study tried to identify the impact of public relations strategies of Coca-Cola and Pepsi...

Read more
EPIDEMIOLOGICAL STUDY OF UROGENITAL SCHISTOSOMIASIS IN APPARENTLY HEALTHY AND HIVINFECTED FEMALES IN JOS, PLATEAU STATE, NIGERIA

Abstract

This study is aimed at determining the status, prevalence and significance of female urogenital schistosomiasis (FUGS) in schist...

Read more
INFLUENCE OF FAMILY PLANNING RADIO PROGRAMME ON YOUNG COUPLES

ABSTRACT

Radio is one of the means to get information across the length and breadth of the society beca...

Read more
INFLUENCE OF TIG PROCESS PARAMETERS ON HARDNESS, TENSILE STRENGTH AND MICROSTRUCTURES OF AISI430 FERRITIC STAINLESS STEEL WELDS

ABSTRACT

The influence of tungsten inert gas (TIG) welding process parameters on the microstructural features and mechanical properties (...

Read more
IMPACT OF PRINCIPALS’ LEADERSHIP STYLES ON TEACHING AND LEARNING IN SECONDARY SCHOOLS IN ILORIN METROPOLIS, KWARA STATE, NIGERIA

Abstract

This study examined impact of principals‟ leadership styles on teaching and learning in secondary schools in Ilorin metropolis,...

Read more
THE IMPACT OF MICROFINANCE BANK ON ECONOMIC GROWTH OF NIGERIA

Abstract

This study is on the impact of microfinance bank on economic growth of Nigeria. The total population for the st...

Read more
ELECTORAL REFORMS AND DEMOCRATIC SUSTAINABILITY IN NIGERIA (1999 TILL DATE)

ABSTRACT

Since 1999 when civil politics was restored to Nigeria nothing seems to galvanize the nation’s democratic...

Read more
Share this page with your friends




whatsapp